package com.mhkj.base.messageRemind.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.mics.core.common.validate.annotation.Validate;
import com.mics.core.system.base.entity.BaseDomain;

/**
 * 消息提醒
 * @author wk
 * @date 2018年8月7日
 * @version 1.0
 */
@Entity
@Table(name="t_message_remind")
@Validate
public class MessageRemind extends BaseDomain{

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -4070352337269120457L;
	/**
	 * 提醒频次 1、法定工作日 2、每天
	 */
	@Column(name="remind_frequency")
	private String remindFrequency;
	/**
	 * 提醒类型 1、短信 2、OA代办
	 */
	@Column(name="remind_type")
	private String remindType;
	/**
	 * 提醒方式
	 */
	@Column(name="remind_mode")
	private String remindMode;
	
	/**
	 * 发送时间
	 */
	@Column(name="send_time")
	private String sendTime;
	
	/**
	 * 说明
	 */
	@Lob
	@Column(name="remark")
	private String remark;

	/**
	 * 创建人姓名
	 */
	@Transient
	private String createName;

	/**
	 * 提醒方式
	 */
	@Transient
	private String remindModeName;

	/**
	 * 提醒类型
	 */
	@Transient
	private String remindTypeName;

	/**
	 * 提醒频次
	 */
	@Transient
	private String remindFrequencyName;
	
	public String getRemindFrequency() {
		return remindFrequency;
	}
	public void setRemindFrequency(String remindFrequency) {
		this.remindFrequency = remindFrequency;
	}
	public String getSendTime() {
		return sendTime;
	}
	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}
	public String getRemindType() {
		return remindType;
	}
	public void setRemindType(String remindType) {
		this.remindType = remindType;
	}
	public String getRemindMode() {
		return remindMode;
	}
	public void setRemindMode(String remindMode) {
		this.remindMode = remindMode;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getCreateName() {
		return createName;
	}
	public void setCreateName(String createName) {
		this.createName = createName;
	}
	public String getRemindModeName() {
		return remindModeName;
	}
	public void setRemindModeName(String remindModeName) {
		this.remindModeName = remindModeName;
	}
	public String getRemindTypeName() {
		return remindTypeName;
	}
	public void setRemindTypeName(String remindTypeName) {
		this.remindTypeName = remindTypeName;
	}
	public String getRemindFrequencyName() {
		return remindFrequencyName;
	}
	public void setRemindFrequencyName(String remindFrequencyName) {
		this.remindFrequencyName = remindFrequencyName;
	}
	
	
}
